<template>
	<div class="qiandao">
		<p>当前日期：<span>{{date}}</span></p>
		<div class="qd-box">
			<h3>签到</h3>
			<!--<h3>已签到</h3>-->
		</div>
		<router-link tag="button"to="" >
			查看签到记录
		</router-link>
	</div>
</template>

<script>
    export default {
        name: "qiandao",
        data(){
            return {
                date:""
            }
        },
        mounted(){
        	let date = new Date();
			this.date = date.getFullYear() + '-' + date.getMonth() + '-' + date.getDate()
        },
        methods:{

        }
    }
</script>

<style lang="less"scoped>
	.qiandao{
		display: flex;
		flex-direction: column;
		align-items: center;
		padding-bottom: 100px;
		box-sizing: border-box;
		.qd-box{
			width: 80px;
			height:80px;
			border-radius: 50%;
			background: #f29184;
			border:3px solid red;
			display: flex;
			align-items: center;
			justify-content: center;
			flex-direction: column;
			font-size: 16px;
			color:white;
		}
		button{
			width: 200px;
			height: 36px;
			background: red;
			color:white;
			margin-top:100px;
		}
		p{
			font-size: 18px;
			color:#333;
			margin: 30px 0 60px;
			span{
				color:red;
			}
		}
	}
</style>